package com.yyds.mapper;

import com.yyds.pojo.UserUser;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

//普通用户数据库层
public interface UserUserMapper {

//    UserUser aveuserlogin(@Param("user_name") String username, @Param("user_password") String password);
    int addUserUser(UserUser userUser);

    int deleteUserUser(@Param("user_id") Integer user_id);

    int updateuseruser(UserUser userUser);

    List<UserUser> queryalluseruser(Map<String, Object> params);

    Integer deletesuseruser(List<Integer> list);

    UserUser findPasswordByUser(String user_name);
}
